/* css 初始化代码  css reset */

* {
  /* 清除默认内外边距 */
  margin: 0;
  padding: 0;
  /* 內减模式 */
  box-sizing: border-box;
}
/* 去掉列表默认样式 */
li {
  list-style: none;
}
/* 去掉链接默认下划线 */
a {
  text-decoration: none;
}
/*去掉button 默认自带的边框*/
button {
  border: none;
}
body {
  background-color: #f3f5f7;
  /* height: 4000px; */
}

/* 版心 */
.w {
  /* 宽度 */
  width: 1200px;
  /* 水平居中 */
  margin: auto;
}

.header {
  height: 41px;
  /* ps */
  /* background-color: pink; */
  margin-top: 30px;
  margin-bottom: 30px;
}

h1 {
  float: left;
  width: 195px;
  height: 41px;
}

h1 a {
  display: block;
  width: 100%;
  height: 100%;
}
h1 img {
  width: 100%;
  height: 100%;
}
.nav {
  float: left;
  margin-left: 70px;
}

.nav li {
  float: left;
  line-height: 41px;
  margin-right: 26px;
}

.nav li a {
  display: block;
  /* 让 a 和 小li 一样大 */
  width: 100%;
  height: 41px;
  padding: 0 9px;
  /* line-height: 39px; */
}

.nav li a:hover {
  color: #00a4ff;
  border-bottom: 2px solid #00a4ff;
}

.nav li a {
  color: #050505;
  font-size: 18px;
}

.nav li.last {
  margin-right: 0;
}

.search {
  float: left;
  margin-left: 85px;
  height: 100%;
  width: 412px;
  border: 1px solid #00a4ff;
}

.search input {
  float: left;
  border: 0;
  /* 鼠标聚焦到 input中 没有黑色的边框 */
  outline: none;
  height: 39px;
  width: 360px;
  line-height: 41px;
  padding-left: 20px;
}

.search input::placeholder {
  /* color: #f00; */
  /* margin-top: 2px; */
  font-size: 14px;
  color: #bfbfbf;
}

.search button {
  float: left;
  width: 50px;
  height: 39px;
  /* background-color: #00a4ff; */
  background-image: url(../images/btn.png);
}

.user {
  float: left;
  margin-left: 31px;
  padding-top: 6px;
}
.user img {
  /* 让图片右侧的文字垂直居中对齐 */
  vertical-align: middle;
}
.user span {
  font-size: 14px;
  color: #666;
}

.banner {
  height: 420px;
  background-color: #1c036c;
}

.banner .w {
  height: 100%;
  /* background-color: pink; */
  background-image: url(../images/banner.png);
}

.banner .left {
  float: left;
  width: 190px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.banner .right {
  float: right;
  width: 228px;
  height: 300px;
  background-color: #fff;
  margin-top: 50px;
}

.banner .left li {
  font-size: 14px;
  line-height: 44px;
}

.banner .left a {
  display: block;
  color: #fff;
  margin: 0 20px;
}

.banner .left a:hover {
  color: #00b4ff;
}

.banner .left span {
  float: right;
}

.banner .left ul {
  padding-top: 15px;
}

.banner .right h2 {
  height: 48px;
  background-color: #9bceea;
  text-align: center;
  line-height: 48px;
  font-size: 18px;
  color: #fff;
  /* 设置字符与字符之间的间距 */
  letter-spacing: 2px;
}

.banner .right ul li:first-child {
  padding-top: 19px;
  height: 71px;
}

.banner .right ul li:nth-child(2) {
  padding-top: 12px;
  height: 61px;
}

.banner .right ul li:last-child {
  padding-top: 12px;
  height: 64px;
}

.banner .right ul li {
  width: 192px;
  border-bottom: 1px solid #000;
  margin: 0 auto;
}

.banner .right h4 {
  font-size: 16px;
  color: #4e4e4e;
}

.banner .right h4 span {
  font-size: 14px;
}

.banner .right p {
  font-size: 12px;
  color: #a5a5a5;
}

.banner .right a {
  display: block;
  width: 200px;
  height: 41px;
  border: solid 1px #00a4ff;
  margin: 4px auto;
  text-align: center;
  line-height: 41px;
  font-weight: bold;
  color: #00a4ff;
  font-size: 16px;
}

.box {
  height: 60px;
  line-height: 60px;
  background-color: #fff;
  margin-top: 8px;
  /* 盒子阴影 让盒子变得立体 */
  box-shadow: 0px 2px 3px 0px rgba(118, 118, 118, 0.2);
}

.box ul {
  float: left;
}
.box .edit {
  float: right;
  margin-right: 26px;
  color: #00a4ff;
}

.box ul li {
  float: left;
  height: 60px;
}
.box ul a {
  color: #050505;
  font-size: 14px;
  padding: 0 34px;
  border-right: 1px solid #000;
}

.box ul a:hover {
  color: #00a4ff;
}

.box ul li:last-child a {
  border-right: 0;
}

.tuijian-hd {
  height: 62px;
  line-height: 62px;
  margin-top: 16px;
}

.tuijian-hd h4 {
  float: left;
  font-size: 20px;
  color: #494949;
  font-weight: 400;
}
.tuijian-hd a {
  float: right;
  margin-right: 31px;
  color: #a5a5a5;
  font-size: 12px;
}

.tuijian-bd li {
  float: left;
  width: 228px;
  height: 270px;
  background-color: #fff;
  margin-right: 15px;
  margin-bottom: 15px;
}

.tuijian-bd li:nth-child(5n) {
  margin-right: 0;
}

.tuijian-bd li a {
  display: block;
  width: 100%;
  height: 100%;
}

.tuijian-bd li .img {
  width: 100%;
  height: 155px;
}

.tuijian-bd li .img img {
  width: 100%;
  height: 100%;
}

.tuijian-bd .info {
  padding-left: 24px;
  padding-right: 20px;
}
.tuijian-bd .info h4 {
  height: 74px;
  padding-top: 25px;
  font-size: 14px;
  color: #050505;
  font-weight: normal;
}

.tuijian-bd .info p {
  font-size: 12px;
  color: #777;
}
.tuijian-bd .info span {
  color: #ff7c2d;
}

/* 鼠标悬停在 li 身上时 给他加一个盒子阴影 */
.tuijian-bd li:hover {
  box-shadow: 0px 2px 5px 0px rgba(118, 118, 118, 0.5);
}

/* 使用  :nth-last-child() */

.tuijian-bd li:nth-last-child(-n + 5) {
  margin-bottom: 0;
}

.footer {
  height: 417px;
  background-color: #fff;
  margin-top: 40px;
}

.footer .w {
  padding-top: 33px;
  height: 100%;
  /* background-color: pink; */
}

.footer .left {
  float: left;
  padding-left: 20px;
}

.footer .right {
  float: right;
}

.footer .left p {
  width: 435px;
  font-size: 12px;
  color: #666;
  font-family: 'simsun';
  line-height: 18px;
  margin-top: 20px;
}

.footer .left button {
  width: 120px;
  height: 36px;
  border: solid 1px #00a4ff;
  background-color: transparent;
  color: #00a4ff;
  font-size: 16px;
  margin-top: 15px;
}


.footer .right div {
  float: left;
}

.footer .right div:nth-child(-n + 2) {
  margin-right: 150px;
}
.footer .right div:last-child {
  margin-right: 30px;
}
.footer .right h4 {
  color: #333;
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 15px;
}

.footer .right li {
  font-size: 12px;
  line-height: 21px;
}

.footer .right li a {
  color: #333;
}

.tuijian-bd li:first-child {
  position: relative;
}

.tuijian-bd li:first-child .hot {
  position: absolute;
  top: 4px;
  right: -4px;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}